package com.ruoyi.playlist.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 歌单-歌曲对象 playlist_tracks
 * 
 * @author lin
 * @date 2025-03-04
 */
public class PlaylistTracks extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 歌单ID */
    private Long playlistId;

    /** 歌曲ID */
    private Long trackId;

    public void setPlaylistId(Long playlistId) 
    {
        this.playlistId = playlistId;
    }

    public Long getPlaylistId() 
    {
        return playlistId;
    }
    public void setTrackId(Long trackId) 
    {
        this.trackId = trackId;
    }

    public Long getTrackId() 
    {
        return trackId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("playlistId", getPlaylistId())
            .append("trackId", getTrackId())
            .toString();
    }
}
